Skip to content

ios: expose app Documents in the Files app - #33

Merged
tiensonqin merged 1 commit into
mainfrom
devin/1790439514-ios-file-sharing
Sep 26, 2026
Merged

tiensonqin merged 1 commit into
mainfrom
devin/1790439514-ios-file-sharing

Conversation

@tiensonqin

Copy link
Copy Markdown
Contributor

Summary

Enable UIFileSharingEnabled + LSSupportsOpeningDocumentsInPlace in apple/App/Info.plist so the app's Documents directory appears under Files → On My iPhone → Logseq Chat, like Obsidian and other document-based apps.

This exposes logseq-chat.sqlite, graphs/<graphId>/graph.sqlite + sync.checkpoint + search/db.sqlite, and Assets/ — the app's entire local store — to browsing, sharing, and delete in the Files app.

Note: this trades convenience for privacy — users can now see (and modify/delete) raw SQLite databases from Files. If we want a narrower surface later, we could move user-visible exports to a dedicated Documents subfolder.

Link to Devin session: https://app.devin.ai/sessions/015e61636c784cfdaed798d8c462f7ed
Open in Devin Desktop: https://app.devin.ai/desktop/session/015e61636c784cfdaed798d8c462f7ed?variant=devin
Requested by: @tiensonqin

@devin-ai-integration

Copy link
Copy Markdown

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@tiensonqin
tiensonqin merged commit 2acd5d6 into main Sep 26, 2026
5 checks passed
@tiensonqin
tiensonqin deleted the devin/1790439514-ios-file-sharing branch September 26, 2026 16:28
@devin-ai-integration

Copy link
Copy Markdown

Verified end-to-end on iPhone 17 simulator (iOS 26.5) — build + install + launch + Files app.

  • App launches normally to the sign-in screen after the plist change ✅
  • Built bundle's Info.plist contains UIFileSharingEnabled=true + LSSupportsOpeningDocumentsInPlace=true ✅
  • Files → On My iPhone shows a LogseqChat folder, and its contents match the app's live Documents container (logseq-chat.sqlite, verified against simctl get_app_container with a marker file round-trip) ✅

Files: On My iPhone shows LogseqChat folder

Folder contents + app launch screenshots

Inside LogseqChat folder: logseq-chat.sqlite
App sign-in screen

Note: graphs/ and Assets/ don't appear yet because no signed-in graph exists in this simulator (needs the local db-sync server); they live in this same Documents dir and will be browsable once created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant